@layout("/common/_dialog.html",{plugins:["laydate","sweet-alert","layer"],js:["/assets/modular/system/bankcard/bankcard_edit.js"]}){
<div class="container-fluid">
    <form id="bankcardForm" \@submit="submitForm">
        <div class="row">
            <div class="col-8">
                <div class="form-group">
                    <h5>姓名 <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="cardName" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <h5>联系电话 <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="cardPhone" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <h5>余额 <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="cardMoney" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group" hidden>
                    <h5>cardId <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="cardId" readonly type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group" hidden>
                    <h5>userId <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="userId" readonly type="text" class="form-control">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-8">
                <div class="text-xs-right">
                    <button class="btn btn-info normal-button-width" \@click="ensure">提交</button>
                    <button class="btn btn-inverse normal-button-width m-l-10" \@click="close">取消</button>
                </div>
            </div>
        </div>
    </form>
</div>
@}

